//
//  CommunityRegisterControllerViewController.h
//  homeland
//
//  Created by caesar on 14-7-25.
//  Copyright (c) 2014年 xzysun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NIDropDown.h" 

#import "UserInfoService.h"
#import "StreetInfoItem.h"
#import "NSObject+propertyList.h"
#import "DropDownEntity.h"
#import "UIView+Toast.h"
/***社区用户注册***/
@interface CommunityRegisterControllerViewController : ConfigableViewController <NIDropDownDelegate>
{
    //街道下拉列表
//    IBOutlet UIButton *btnStreet;
    NIDropDown *streetDropDown;
    //社区下接列表
//    IBOutlet UIButton *btnCommunity;
    NIDropDown *communityDropDown;
 
}
//单选框提交值
@property (strong, nonatomic) NSString * streetId;
@property (strong, nonatomic) NSString * streetName;
@property (strong, nonatomic) NSString * communityId;
@property (strong, nonatomic)NSString * communityName;

@property (strong, nonatomic) IBOutlet UIButton *btnStreet;
@property (strong, nonatomic) IBOutlet UIButton *btnCommunity;
@property (strong, nonatomic) IBOutlet UITextField *nameText;
@property (strong, nonatomic) IBOutlet UITextField *addressText;
//自定义视图
@property (strong, nonatomic) IBOutlet UIView *myView;
//街道列表数据源
@property (strong, nonatomic) NSArray *streetList;
//社区列表数据源
@property (strong, nonatomic) NSArray *communityList;

//街道列表事件
- (IBAction)streetSelectClicked:(id)sender;
//社区列表事件
- (IBAction)communitySelectClicked:(id)sender;
//释放内存
-(void)rel;

@end
